#version 450

layout(location=0) in vec3 v_Normal;
layout(location=1) in vec3 v_Color;
layout(location=2) in vec3 v_WorldPos;

layout(location=0) out vec4 fragColor;
layout(location=1) out vec4 outPosition;
layout(location=2) out vec4 outNormal;
layout(location=3) out vec4 outAlbedo;

void main() {
    vec3 N = normalize(v_Normal);

    fragColor = vec4(0.0);
    outPosition = vec4(v_WorldPos, 1.0);
    outNormal = vec4(N, 1.0);
    outAlbedo = vec4(v_Color, 1.0);
}